package log;

/**
 * Implements the logging system of invitations. 
 * @author Alexandre, Cristovao, Raul, Rodolpho, Tales
 * @version 1.1
 * @milestone Number 2
 */
public class ConvitesLog implements Registrable {

	/**
	 * Get the type of the service that uses logging. 
	 * @return the success message
	 */
	public String getService() {
		return "convites";
	}

	/**
	 * Get the error message if any problems occur when log the invitation. 
	 * @return the success message
	 */
	public String getErrorMessage() {
		return "Erro ao enviar convite.txt.";
	}

	/**
	 * Get the success message if no problems occur when log the invitation. 
	 * @return the success message
	 */
	public String getSuccessMessage() {
		return "Documento convite.txt enviado com sucesso.";
	}
}